package com.ssm.model;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "exam_score")
public class ExamScore {
    @Id
    private Integer id;

    @Column(name = "user_id")
    private String userId;

    @Column(name = "subject_id")
    private Integer subjectId;

    @Column(name = "exam_time")
    private Date examTime;

    private BigDecimal score;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return user_id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * @return subject_id
     */
    public Integer getSubjectId() {
        return subjectId;
    }

    /**
     * @param subjectId
     */
    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    /**
     * @return exam_time
     */
    public Date getExamTime() {
        return examTime;
    }

    /**
     * @param examTime
     */
    public void setExamTime(Date examTime) {
        this.examTime = examTime;
    }

    /**
     * @return score
     */
    public BigDecimal getScore() {
        return score;
    }

    /**
     * @param score
     */
    public void setScore(BigDecimal score) {
        this.score = score;
    }
}